package com.yzw.decorator;

public class CD extends ComponentDecorator {
    Computer computer;

    public CD(Computer c) {
        computer = c;
    }

    public String description() {
        // 对原有方法进行了加强
        return computer.description() + " add a CD";
    }
}